ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pics-carousel {
  position: relative;
  width: 400px;
  overflow: hidden;
}
.cont {
    position: relative;
    left: 0;
    display: flex;
    transition: left 0.5s ease;
}
.pic {
  display: block;
  width: 100%;
}


.dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}
.dot {
  width: 15px;
  height: 15px;
  margin-right: 18px;
  border: 1px solid #666;
  border-radius: 50%;
  float: left;
}
.dot:last-child {
  margin-right: 0;
}

.dot._active {
  background: #fff;
}